package com.mechat.ui.chat.profile

import android.view.View
import android.widget.ImageView
import android.widget.LinearLayout
import android.widget.TextView
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.recyclerview.widget.RecyclerView
import com.mechat.R
import com.mechat.view.delay.DelayClickImageView
import com.gyf.immersionbar.ImmersionBar
import com.custom.base.mvp.MVPBaseActivity
import com.mechat.view.TagCloudView
import com.youth.banner.Banner
import kotlinx.android.synthetic.main.act_user_profile_info.*


/**
 * 设置app
 */
class UserProfileInfoActivity : MVPBaseActivity<UserProfileInfoContract.View, UserProfileInfoPresenter>(), UserProfileInfoContract.View {

    override fun setFullScreen(): Boolean {
        return true
    }
    override fun bindLayout(): Int {
        return R.layout.act_user_profile_info
    }

    override fun initView() {

        containerBackArrow.setOnClickListener {
            onBackPressed()
        }
    }

    override fun onResume() {
        super.onResume()
        ImmersionBar.with(mActivity)
            .statusBarDarkFont(false)
            .init()
    }



    override val banner: Banner<*, *>
        get() = user_profile_info_banner
    override val containerBackArrow: ImageView
        get() = container_back_arrow
    override val userProfileGenderRightImg: ImageView
        get() = user_profile_gender_right_img
    override val userProfileName: TextView
        get() = user_profile_name
    override val userProfileAboutMeTitle: TextView
        get() = user_profile_about_me_title
    override val userProfileMyInterestsTitle: TextView
        get() = user_profile_my_interests_title
    override val dividingLineOne: View
        get() = dividing_line_one
    override val dividingLineTwo: View
        get() = dividing_line_two
    override val userProfileIntroduction: TextView
        get() = user_profile_introduction
    override val userProfileTagCloud: TagCloudView
        get() = user_profile_tag_cloud
    override val purposeContainer: LinearLayout
        get() = purpose_container
    override val imgPurpose: ImageView
        get() = img_purpose
    override val txtPurpose: TextView
        get() = txt_purpose
    override val userProfileGender: TextView
        get() = user_profile_gender
    override val userProfileLooking: TextView
        get() = user_profile_looking
    override val userProfileLookingRightImg: ImageView
        get() = user_profile_looking_right_img
    override val turnOnsContainer: ConstraintLayout
        get() = turn_ons_container
    override val turnOnsList: RecyclerView
        get() = turn_ons_list
    override val userStarSign: TextView
        get() = user_star_sign
    override val userProfileOnline: TextView
        get() = user_profile_online
    override val userProfileStarSignRightImg: ImageView
        get() = user_profile_star_sign_right_img
    override val heightInches: TextView
        get() = height_inches
    override val heightCentimetre: TextView
        get() = height_centimetre
    override val userProfileAddress: TextView
        get() = user_profile_address
    override val heightContainer: LinearLayout
        get() = height_container
    override val tagContainer: LinearLayout
        get() = tag_container
}